home *** CD-ROM | disk | FTP | other *** search
- /*
- ** This is the TLink class declaration. This class is an adaptation of
- ** the class of the same name in the book, Elements of C++ Macintosh
- ** Programming, by Dan Weston.
- **
- ** Copyright © 1991 Mark Gross
- ** (RR2, Box 84, Clayville, NY 13322);
- ** this file may be published everywhere, but no charge
- ** may be made for its use. Please contact me about any bugs found.
- ** I'm also looking for Macintosh development work, so drop me a line
- ** if you think I could help.
- */
-
- #define _H_TLink
-
-
-
- struct TLink:indirect
- {
- TLink* fNext;
- void* fItem;
-
- TLink* Init(TLink *n, void *item);
- TLink* GetNext(void);
- void* GetItem(void);
- void SetNext(TLink* aLink);
- void SetItem(void* anItem);
- };
-